<%@ page session="false" contentType="text/html;charset=utf-8"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<html>
<body>
<f:view>
	<f:loadBundle basename="messages.MessageResource" var="msg" />
	<h:panelGroup id="body">

		<t:dataTable id="tab" var="temat" value="#{dataFirstPage.firstPageList}"
			preserveDataModel="true">
			<h:column>
				<f:facet name="header">
					<h:outputText value="Ostatni Post" />
				</f:facet>
				<h:outputText value="#{temat.lastTopic}" />
			</h:column>
		
			<h:column>
				<f:facet name="header">
					<h:outputText value="Moderator" />
				</f:facet>
				<h:outputText value="#{temat.themaList.moderator}" />
			</h:column>

			<h:column>
				<f:facet name="header">
					<h:outputText value="Temat" />
				</f:facet>
				<h:outputText value="#{temat.themaList.thema}" />
			</h:column>
		
		</t:dataTable>


	</h:panelGroup>

</f:view>


</body>

</html>
